package MBcontrole;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import tabelas.controle.Uf.UfDAOImp;

@ManagedBean(name="selectUF")
@RequestScoped
public class MBSelectUF {
	private String uf;
	public String cduf;
	
	tabelas.controle.Uf.UfDAOImp ufdaoimp = new UfDAOImp();
	/**
	public List<String> completeUF(String query) {
		List<String> results = new ArrayList<String>();
		List<String> val = new ArrayList<String>();
		try {
			val = ufdaoimp.ListaUF(query);
			results = val;
		} catch (Exception e) {
			e.printStackTrace();
		}

		return results;
	}
**/
	public String getUf() {
		return uf;
	}

	public void setUf(String uf) {
		this.uf = uf;
	}

	public String getCduf() {
		return cduf;
	}

	public void setCduf(String cduf) {
		this.cduf = cduf;
	}

}
